package com.atguigu.day12.abstract02.a3;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/13 10:25
 * @注释
 */
public abstract class Graphic {
    public abstract double area();
    public abstract double perimeter();
    public String toString(){
        return ", 面积:" + area() + ", 周长:" + perimeter();
    }
}
